package org.ruoyi.aibox.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.ruoyi.aibox.domain.AuditTask;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.ruoyi.common.excel.annotation.ExcelDictFormat;
import org.ruoyi.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 审核任务视图对象 audit_task
 *
 * @author xpeter
 * @date 2025-04-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AuditTask.class)
public class AuditTaskVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 审核任务ID
     */
    @ExcelProperty(value = "审核任务ID")
    private Long taskId;

    /**
     * 审核对象名称
     */
    @ExcelProperty(value = "审核对象名称")
    private String auditObjectName;

    /**
     * 审核项总数
     */
    @ExcelProperty(value = "审核项总数")
    private Long totalItems;

    /**
     * 已审核数
     */
    @ExcelProperty(value = "已审核数")
    private Long auditedItems;

    /**
     * 任务状态（字典）
     */
    @ExcelProperty(value = "任务状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "audit_task_status")
    private String taskStatus;

    /**
     * 任务开始时间
     */
    @ExcelProperty(value = "任务开始时间")
    private Date startTime;

    /**
     * 任务结束时间
     */
    @ExcelProperty(value = "任务结束时间")
    private Date endTime;


}
